package com.ruoyi.api.dto;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderDTO {

    @NotNull(message = "店铺ID")
    private Long storeId;

    @NotNull(message = "总支付金额")
    private BigDecimal amount;

    @NotNull(message = "总支付金额")
    private List<ItemDTO> items;
}
